package com.dycx.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.dycx.*"})
@MapperScan(basePackages = {"com.dycx.system.mapper"})
@MapperScan(basePackages = {"com.dycx.user.mapper"})
@MapperScan(basePackages = {"com.dycx.cms.mapper"})
@MapperScan(basePackages = {"com.dycx.message.mapper"})
@MapperScan(basePackages = {"com.dycx.payment.mapper"})
@MapperScan(basePackages = {"com.dycx.food.mapper"})
@EnableFeignClients({"com.dycx.common.vendor.map.feign","com.dycx.message.vendor.weixin.mp.feign"})
public class ApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiApplication.class, args);
    }

}
